package com.novax.ex.activity.infrastructure.entity;

import com.novax.ex.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 活动用户奖励表
 *
 * @TableName task_user_rewards
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskUserRewards extends BaseEntity {
    /**
     * 活动id
     */
    private Long activityId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 奖励类型 1=冻结ET 2=可用币种 3=盲盒奖励 4=SCS奖励 5=合约手续费抵扣券 6=VIP升级券
     */
    private Integer type;

    /**
     * 总冻结数量
     */
    private BigDecimal totalFreeze;

    /**
     * 解冻数量
     */
    private BigDecimal unfreeze;

    /**
     * 币种
     */
    private String currency;
}